<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
  <meta name="layout" content="main_nav" />
  <nav:resources/>
</head>
<body>

  <div class="ui-widget-content">

      <div class="myxilinMenu navColumn">
          <nav:render group="${session.roles[0]}"/>
          <nav:renderSubItems group="${session.roles[0]}"/>
      </div>

      <div class="ui-widget-content contentColumn">
        <g:layoutBody/>
      </div>

    </div>

    <script type="text/javascript">
      $(function(){
        var width = 0;

        $('.myxilinMenu > ul > li').css('clear','both').each(function() {
          var w = $(this).width();
          width = width > w ? width : w;
        }).width(width);

      });
    </script>

</body>
</html>
